#! /bin/bash

make
rm *.o
./export3 > run_log.txt
rm export3
mkdir data
mv ndvi.txt lswi.txt evi.txt run_log.txt ndvi_interpolated.txt ndvi_emd_filter.txt ndvi_savitzky_golay_filter.txt evi_interpolated.txt evi_emd_filter.txt evi_savitzky_golay_filter.txt lswi_interpolated.txt lswi_emd_filter.txt lswi_savitzky_golay_filter.txt -t data/
sublime-text data/run_log.txt